SSE2-optimized gamma correction
authorLoren Merritt <pengvado@akuvian.org>
Mon, 29 Apr 2013 09:49:18 +0000 (09:49 +0000)
committerØyvind Kolås <pippin@gimp.org>
Fri, 3 May 2013 13:09:56 +0000 (15:09 +0200)
commit33bbf893b4b2c9a2ea9c2ccafc14a51c2c1757e7
treef99ecf642b88357eb0b15a88a3935a76a532dc53
parentf683335fb0d06aef7170fac523ae2ab83173a7de
SSE2-optimized gamma correction

7x faster than the scalar implementation.
(4x the obvious way from simd, and the other 1.75x because I'm exploiting
knowledge of the ieee754 float format rather than using portable frexp().)
extensions/sse2-float.c